Java Mine
ContentsIndexHome
PreviousUpNext
SensorMessage.SensorMessage Constructor (long, int, Calendar, int, int, double, byte[])
Syntax
Java
public SensorMessage(long sensorID, int profileID, Calendar messageDate, int state, int signalStrength, double voltage, byte[] data) throws InterruptedException;

 

Default Constructor creates new SensorMessage object @param sensorID unique identifier of the sensor @param profileID the type of sensor it is sensors unique application id @param messageDate when the message came in @param state lets you know if the sensor was in an aware state, joining, or normal @param signalStrength the rssi of the sensor @param voltage the power of the sensor @param data an array of bytes carrying the sensors report

Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!